<div class="row mt-4">
    <div class="col-4 offset-3">
        <form action="<?php echo url('save'); ?>" method="POST">
            <?php 
                echo app\component\httpReferer\HttpRefererComponent::getInputHtmls();
            ?>
            <div class="form-group row">
                <label for="name" class="col-4 text-right col-form-label">名称：</label>
                <input type="text" name="name" class="form-control col-8" id="name" aria-describedby="班级名称" required>
            </div>
            <div class="form-group row">
                <label class="col-4 text-right col-form-label" for="entranceDate">入学日期:</label>
                <input type="date" name="entranceDate" class="form-control col-8" id="entranceDate" aria-describedby="入学日期" required>
            </div>
            <div class="form-group row">
                <label class="col-4 text-right col-form-label" for="numberOfStudents">学生人数: </label>
                <input type="number" name="numberOfStudents" class="form-control col-8" id="numberOfStudents" aria-describedby="学生人数" required>
            </div>
            <div class="form-group row">
                <label class="col-4 text-right col-form-label" for="userId">班主任:</label>
                <?php echo app\component\selectUser\SelectUserComponent::render(); ?>
            </div>
            <div class="form-group row">
                <div class="col-8 offset-4">
                    <button class="btn btn-primary">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>